package org.example.spring_annotation.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel
public class ApiResponseData<T> {
    @ApiModelProperty(name = "响应码", required = true)
    private Integer code = 0;
    @ApiModelProperty(name = "消息")
    private String message = "success";
    @ApiModelProperty(name = "数据")
    private T data;
}
